<nz-select
    (nzOnSearch)="onSearch($event)"
    [(ngModel)]="selectedValue"
    [nzDisabled]="disabled"
    [nzMode]="multiple?'multiple':'default'"
    [nzPlaceHolder]="emptyText"
    [nzShowArrow]="false"
    nzAllowClear
    nzServerSearch
    nzShowSearch
>
    <ng-container *ngIf="!isLoading">
        <nz-option *ngFor="let p of propertyValues" [nzLabel]="p.name" [nzValue]="p.code"></nz-option>
    </ng-container>
    <nz-option *ngIf="isLoading" nzCustomContent nzDisabled>
        <i class="loading-icon" nz-icon nzType="loading"></i> 正在加载中...
    </nz-option>
</nz-select>
